package com.zxh.common.bean;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author zxh
 * @Title: YmlBean
 * @ProjectName eureka-common
 * @Description: TODO
 * @date 2018/10/2221:06
 */
@Component
@ConfigurationProperties(prefix = "myyml")
@Setter
@Getter
@ToString
public class YmlBean implements Serializable {
    private String weatherUrl;
}